package com.corechina.apex_osswords.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.corechina.apex_osswords.common.Response;
import com.corechina.apex_osswords.domain.entity.SysMenu;

import java.util.List;

/**
 * <p>
 * 菜单表 服务类
 * </p>
 *
 * @author cc
 * @since 2022-03-07
 */
public interface ISysMenuService extends IService<SysMenu> {

    Response add(SysMenu sysMenu);

    Response getMenuByUserId();

    Response getMenuAllList();

    List<SysMenu> getMenuByParentId(Integer parentId, String type);

    Response del(Integer id);

    Response update(SysMenu sysMenu);

    Response getOne(Integer id);

}
